<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmModCom.aspx.vb" Inherits="frmModCom" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Modificar Comentario - PANEL WEB GCOL</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Modificar Comentario<br />
        <br />
        <asp:Label ID="lbl1" runat="server" Text="Seleccione Indicador"></asp:Label>
        <asp:DropDownList ID="ddl1" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
            DataSourceID="SqlDataSource1" DataTextField="titulo" DataValueField="id_ind">
            <asp:ListItem Selected="True" Value="0">--- Seleccione Indicador --- </asp:ListItem>
        </asp:DropDownList>
        &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;<br />
        <br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp;
        <asp:Label ID="lbl4" runat="server" Text="Comentarios del Indicador" Visible="False"></asp:Label>&nbsp;
        <br />
        <asp:TextBox ID="txt2" runat="server" Enabled="False" Height="116px" TextMode="MultiLine"
            Visible="False" Width="429px"></asp:TextBox>
        &nbsp;<br />
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp;<asp:Button ID="btnComentario" runat="server" Enabled="False"
            Style="position: static" Text="Cambiar Comentario" Visible="False" /><br />
        <br />
        <br />
        <asp:HyperLink ID="lnkVolver" runat="server" NavigateUrl="~/frmPaneldeControl.aspx">Volver al Menu</asp:HyperLink>
        &nbsp; &nbsp;
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/frmGrafico.aspx" Visible="False">Ver Grafico</asp:HyperLink><br />
    
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:CnxApp %>" SelectCommand="select replace(a.titulo,'%25','%') as titulo,a.id_ind,b.usuario&#13;&#10;from indicador a, asigna_indicador b&#13;&#10;where a.id_ind = b.id_ind and b.usuario = @x and a.activo = 1&#13;&#10;order by titulo">
            <SelectParameters>
                <asp:SessionParameter Name="x" SessionField="usuario" />
            </SelectParameters>
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
